package com.zzw.gatewayfilter.tokenfilter;

import reactor.core.publisher.Mono;

/**
 * @author Administrator
 */
public class DefaultTokenFilter implements TokenFilter {

    @Override
    public Mono<Response> isAllowed(String requestHeaderName) {
        //TODO valid token
        return Mono.just(new TokenFilter.Response(true));
    }
}
